package ace.cmp.rest.spring.data.jdbc.querydsl.test.core.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/8/22 17:02
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Author {

  private Long id;
  private String title;

  private Long deleteFlag;

  /**
   * 更新时间
   */
  private Long updateTime;

  /**
   * 创建时间
   */
  private Long createTime;

  /**
   * 版本号和乐观锁字段,初始为0，更新自增1
   */
  private Long rowVersion;
}
